package com.itheima.d1_reflect_method;

public class Dog {
    private  String name;
    public Dog(){
    }

    public void run(){
        System.out.println("run run run");
    }

    public void eat(){
        System.out.println("吃吃吃");
    }



    private String eat(String name){
        System.out.println(name+"吃吃吃");
        return name+"恰饱了🐷";
    }
    public static  void  inAdd(){
        System.out.println("我是个夹心糖捏");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
